<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/templates/web/{$common.web_template}/css/style.css">
<link rel="stylesheet" type="text/css" href="/templates/web/{$common.web_template}/css/{$common.cururl}.css">
<script type="text/javascript" src="static/js/jquery-1.7.2.min.js"></script>
<title>{$common.title}</title>
</head>

<body>
<!--=================顶部start================-->
<div class="top">
	<div class="wapper shang">
        <p>您好！请 <a href="#">登录</a> 或 <a href="#">注册</a></p>
        <div><a href="#">设为首页</a> | <a href="#">添加收藏</a> | <a href="#">会员中心</a> | <a href="#">帮助中心</a></div>
    </div>
</div>
<!--=================顶部end================-->
<!--=================主体start================-->
<div class="wapper">
	<!--=================top start================-->
	<div class="mg">
        <div class="topad">
		<a href="./"><img class="logo" src="templates/web/default/images/logo.jpg" /></a>
		<div class="divinline">topad</div>
        </div>
        <div class="clear"></div>
    </div>
    <!--=================top end================-->
    <!--=================导航start================-->
    <div class="daohang mg">
    	<img src="templates/web/default/images/daohang-1.jpg" />
        <div class="nav">
        	<ul>
				{foreach from=$common.navlist item=n}
            	<li><a href="{$n.nav_url}">{$n.nav_c_name}</a></li>
				{/foreach}
                <li style="background:none;"><a href="http://bbs.omo0.com">二手论坛</a></li>
            </ul>
        </div>
        <img src="templates/web/default/images/daohang-4.jpg" />
        <div class="clear"></div>
    </div>
    <!--=================导航end================-->
	{if $common.cururl neq '404'}
    <!--=================车型车系start================-->
    <div class="huakuai mg">
        <ul class="lianjie">
			<li class="price" style="margin-top: 0px;border-top:0px;"><span class="teshu">车型</span><span> > </span>
			<p>
				<a{if not $common.models_id} style="color:red;"{/if} href="list.php?models_id=&type_id={$common.type_id}&price_id={$common.price_id}&area_id={$common.area_id}">全部</a> 
				{foreach from=$common.modelslist item=m}
				<a{if $common.models_id eq $m.models_id} style="color:red;"{/if} href="list.php?models_id={$m.models_id}&type_id={$common.type_id}&price_id={$common.price_id}&area_id={$common.area_id}">{$m.models_c_name}</a> 
				{/foreach}
			</p>
			</li>
        	<li><span class="teshu">品牌</span><span> > </span>
			<p>
				<a{if not $common.type_id} style="color:red;"{/if} href="list.php?models_id={$common.models_id}&type_id=&price_id={$common.price_id}&area_id={$common.area_id}">不限</a> 
				{foreach from=$common.typelist item=t}
				<a{if $common.type_id eq $t.type_id} style="color:red;"{/if} href="list.php?models_id={$common.models_id}&type_id={$t.type_id}&price_id={$common.price_id}&area_id={$common.area_id}">{$t.type_c_name}</a> 
				{/foreach}
			</p>
			</li>
            <li class="price"><span class="teshu">价格</span><span> > </span>
			<p>
				<a{if not $common.price_id} style="color:red;"{/if} href="list.php?models_id={$common.models_id}&type_id={$common.type_id}&price_id=&area_id={$common.area_id}">全部</a> 
				{foreach from=$common.pricelist item=p}
				<a{if $common.price_id eq $p.price_id} style="color:red;"{/if} href="list.php?models_id={$common.models_id}&type_id={$common.type_id}&price_id={$p.price_id}&area_id={$common.area_id}">{if $p.price_min eq '0'}{$p.price_max}元以下{elseif $p.price_max eq '0'}{$p.price_min}元以上{else}{$p.price_min}-{$p.price_max}元{/if}</a> 
				{/foreach}
			</p>
			</li>
            <li><span class="teshu">区域</span><span> > </span>
			<p>
				<a{if not $common.area_id} style="color:red;"{/if} href="list.php?models_id={$common.models_id}&type_id={$common.type_id}&price_id={$common.price_id}&area_id=">不限</a> 
				{foreach from=$common.arealist item=a}
				<a{if $common.area_id eq $a.area_id} style="color:red;"{/if} href="list.php?models_id={$common.models_id}&type_id={$common.type_id}&price_id={$common.price_id}&area_id={$a.area_id}">{$a.area_c_name}</a> 
				{/foreach}
			</li>
        </ul>
        <div class="clear"></div>
    </div>
    <!--=================车型车系end================-->
	{/if}